package com.zx.wangyixinwen.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import com.zx.wangyixinwen.R;

/**
 * Created by dllo on 16/1/6.
 */
public class WelcomeActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                Intent intent = new Intent(WelcomeActivity.this, MainActivity.class);
                startActivity(intent);
                finish();
//                overridePendingTransition(R.anim.hyperspace_in, R.anim.hyperspace_out);
            }
        }, 3000);
    }


}

